package br.org.etec.dotcao.model;

import java.util.Date;
import java.util.List;

import br.org.etec.dotcao.dao.NewsDao;

public class NewsRepositoryImpl extends RepositoryImpl<News> implements NewsRepository {

	public NewsRepositoryImpl() {
		super(News.class);
	}

	@Override
	public List<News> all(String title, Date date) {
		return ((NewsDao)delegate).all(title, date);
	}

}